package com.hrs.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 摆渡人
 * @description
 * @date 2023/1/13 10:15
 */
@Getter
public enum OrderStatus {
    WAITING(0,"待登记"),
    CHECKING(1,"待复核"),
    NORMAL(2,"待发放"),
    PAYED(3,"已发放");

    @EnumValue
    private final int key;
    @JsonValue
    private final String display;

    OrderStatus(int key, String display) {
        this.key = key;
        this.display = display;
    }
}
